package com.jaiai.work.project.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.jaiai.work.project.entity.TInterface;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 接口 Mapper 接口
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-04-19
 */
@Mapper
public interface TInterfaceMapper extends BaseMapper<TInterface> {

    /**
     * 搜索所有接口数据
     * */
    @Select("SELECT * \n" +
            "FROM t_interface ")
    List<Map<String,Object>> findTInterfaceAll(Page page);
}